package com.study.demo.db;


import com.study.demo.bean.BaseError;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Transient;

/**
 * Entity mapped to table THREAD_INFO.
 */
@Entity
public class ThreadInfo {

    private String tid;
    private String pid;
    private Integer page;
    private String nopic;
    private Integer postAuthorPuid;
    private String time;
    private String userImg;
    private String author_puid;
    private String username;
    private String fid;
    private String visits;
    private String recommend_num;
    private String via;
    private String update_info;
    private String content;
    private String title;
    private Integer totalPage;
    private String forumName;
    @Transient
    private Forum forum;
    @Transient
    private BaseError error;

    @Generated(hash = 1910079905)
    public ThreadInfo(String tid, String pid, Integer page, String nopic,
                      Integer postAuthorPuid, String time, String userImg, String author_puid,
                      String username, String fid, String visits, String recommend_num,
                      String via, String update_info, String content, String title,
                      Integer totalPage, String forumName) {
        this.tid = tid;
        this.pid = pid;
        this.page = page;
        this.nopic = nopic;
        this.postAuthorPuid = postAuthorPuid;
        this.time = time;
        this.userImg = userImg;
        this.author_puid = author_puid;
        this.username = username;
        this.fid = fid;
        this.visits = visits;
        this.recommend_num = recommend_num;
        this.via = via;
        this.update_info = update_info;
        this.content = content;
        this.title = title;
        this.totalPage = totalPage;
        this.forumName = forumName;
    }

    @Generated(hash = 930225280)
    public ThreadInfo() {
    }

    public String getTid() {
        return this.tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getPid() {
        return this.pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getPage() {
        return this.page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getNopic() {
        return this.nopic;
    }

    public void setNopic(String nopic) {
        this.nopic = nopic;
    }

    public Integer getPostAuthorPuid() {
        return this.postAuthorPuid;
    }

    public void setPostAuthorPuid(Integer postAuthorPuid) {
        this.postAuthorPuid = postAuthorPuid;
    }

    public String getTime() {
        return this.time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getUserImg() {
        return this.userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public String getAuthor_puid() {
        return this.author_puid;
    }

    public void setAuthor_puid(String author_puid) {
        this.author_puid = author_puid;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFid() {
        return this.fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getVisits() {
        return this.visits;
    }

    public void setVisits(String visits) {
        this.visits = visits;
    }

    public String getRecommend_num() {
        return this.recommend_num;
    }

    public void setRecommend_num(String recommend_num) {
        this.recommend_num = recommend_num;
    }

    public String getVia() {
        return this.via;
    }

    public void setVia(String via) {
        this.via = via;
    }

    public String getUpdate_info() {
        return this.update_info;
    }

    public void setUpdate_info(String update_info) {
        this.update_info = update_info;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getTotalPage() {
        return this.totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public String getForumName() {
        return this.forumName;
    }

    public void setForumName(String forumName) {
        this.forumName = forumName;
    }

    public Forum getForum() {
        return forum;
    }

    public void setForum(Forum forum) {
        this.forum = forum;
    }

    public BaseError getError() {
        return error;
    }

    public void setError(BaseError error) {
        this.error = error;
    }
}
